projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aef8f3
)
ARM: rmobile: salvator-x: Use BIT() macro in board file
author
Marek Vasut
<
[email protected]
>
Sat, 13 May 2017 13:57:41 +0000
(15:57 +0200)
committer
Nobuhiro Iwamatsu
<
[email protected]
>
Sun, 21 May 2017 19:38:26 +0000
(
04:38
+0900)
Cosmetic change, replace (1 << (n)) with BIT(n) .
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Hiroyuki Yokoyama <
[email protected]
>
Cc: Nobuhiro Iwamatsu <
[email protected]
>
board/renesas/salvator-x/salvator-x.c
patch
|
blob
|
history
diff --git
a/board/renesas/salvator-x/salvator-x.c
b/board/renesas/salvator-x/salvator-x.c
index 0164306b5209cbb5c326f900841d76445d566bdf..d0e21ab6677e358d09a7ca709ce731e2afb04f21 100644
(file)
--- a/
board/renesas/salvator-x/salvator-x.c
+++ b/
board/renesas/salvator-x/salvator-x.c
@@
-44,10
+44,10
@@
void s_init(void)
writel(0xFFFFFFFF, CPGWPR);
}
-#define GSX_MSTP112
(1 << 12)
/* 3DG */
-#define TMU0_MSTP125
(1 << 25)
/* secure */
-#define TMU1_MSTP124
(1 << 24)
/* non-secure */
-#define SCIF2_MSTP310
(1 << 10)
/* SCIF2 */
+#define GSX_MSTP112
BIT(12)
/* 3DG */
+#define TMU0_MSTP125
BIT(25)
/* secure */
+#define TMU1_MSTP124
BIT(24)
/* non-secure */
+#define SCIF2_MSTP310
BIT(10)
/* SCIF2 */
int board_early_init_f(void)
{